package com.zhyl.demo.service;

import com.zhyl.demo.entity.Medication;

import java.util.ArrayList;

/**
 * @author yang3
 */
public interface MedicationService {
    ArrayList<Medication> getMedicList();

    ArrayList<Medication> getSelectMedic(String medicName);

    Boolean updateMedic(Medication medication);

    Boolean createMedic(Medication medication);

    Boolean deleteMedic(Integer medId);

    Medication checkMedic(String name);
}
